<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.freedesktop.UDisks2.MDRaid: UDisks Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="UDisks Reference Manual">
<link rel="up" href="ch02.html" title="D-Bus Interfaces">
<link rel="prev" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html" title="org.freedesktop.UDisks2.Drive.Ata">
<link rel="next" href="gdbus-org.freedesktop.UDisks2.Block.html" title="org.freedesktop.UDisks2.Block">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gdbus-org.freedesktop.UDisks2.MDRaid.description" class="shortcut">Description</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#gdbus-org.freedesktop.UDisks2.MDRaid.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gdbus-org.freedesktop.UDisks2.Drive.Ata.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gdbus-org.freedesktop.UDisks2.Block.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gdbus-org.freedesktop.UDisks2.MDRaid"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gdbus-interface-org-freedesktop-UDisks2-MDRaid.top_of_page"></a>org.freedesktop.UDisks2.MDRaid</span></h2>
<p>org.freedesktop.UDisks2.MDRaid — Linux Software RAID</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis">
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.Start" title="The Start() method">Start</a>             (IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.Stop" title="The Stop() method">Stop</a>              (IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.RemoveDevice" title="The RemoveDevice() method">RemoveDevice</a>      (IN  o     device,
                   IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.AddDevice" title="The AddDevice() method">AddDevice</a>         (IN  o     device,
                   IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.SetBitmapLocation" title="The SetBitmapLocation() method">SetBitmapLocation</a> (IN  ay    value,
                   IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.RequestSyncAction" title="The RequestSyncAction() method">RequestSyncAction</a> (IN  s     sync_action,
                   IN  a{sv} options);
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.Delete" title="The Delete() method">Delete</a>            (IN  a{sv} options);
</pre>
</div>
<div class="refsect1">
<a name="id-1.3.3.5.4"></a><h2>Properties</h2>
<pre class="synopsis">
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.UUID" title='The "UUID" property'>UUID</a>                readable   s
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.Name" title='The "Name" property'>Name</a>                readable   s
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.Level" title='The "Level" property'>Level</a>               readable   s
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.NumDevices" title='The "NumDevices" property'>NumDevices</a>          readable   u
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.Size" title='The "Size" property'>Size</a>                readable   t
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncAction" title='The "SyncAction" property'>SyncAction</a>          readable   s
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncCompleted" title='The "SyncCompleted" property'>SyncCompleted</a>       readable   d
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncRate" title='The "SyncRate" property'>SyncRate</a>            readable   t
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncRemainingTime" title='The "SyncRemainingTime" property'>SyncRemainingTime</a>   readable   t
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.Degraded" title='The "Degraded" property'>Degraded</a>            readable   u
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.BitmapLocation" title='The "BitmapLocation" property'>BitmapLocation</a>      readable   ay
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.ChunkSize" title='The "ChunkSize" property'>ChunkSize</a>           readable   t
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.ActiveDevices" title='The "ActiveDevices" property'>ActiveDevices</a>       readable   a(oiasta{sv})
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.ChildConfiguration" title='The "ChildConfiguration" property'>ChildConfiguration</a>  readable   a(sa{sv})
<a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.Running" title='The "Running" property'>Running</a>             readable   b
</pre>
</div>
<div class="refsect1">
<a name="gdbus-interface-org-freedesktop-UDisks2-MDRaid"></a><h2>Description</h2>
<p>      Objects implementing this interface represent
      <a class="ulink" href="https://raid.wiki.kernel.org/index.php/Linux_Raid" target="_top">Linux Software RAID arrays</a>
      detected on the system. Both running and not-running arrays are represented.
</p>
<p>      Block devices point to objects implementing this interface, see
      the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-property-org-freedesktop-UDisks2-Block.MDRaid" title='The "MDRaid" property'>"MDRaid"</a> and
      <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-property-org-freedesktop-UDisks2-Block.MDRaidMember" title='The "MDRaidMember" property'>"MDRaidMember"</a> properties on the
      <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a> D-Bus interface.
</p>
<p class="since">Since 2.0.0</p>
</div>
<div class="refsect1">
<a name="gdbus-methods-org.freedesktop.UDisks2.MDRaid"></a><h2>Method Details</h2>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.Start"></a><h3>The Start() method</h3>
<pre class="programlisting">
Start (IN  a{sv} options);
</pre>
<p>        Starts the RAID array.
</p>
<p>        If the <em class="parameter"><code>option</code></em> parameter contains the key <em class="parameter"><code>start</code></em>-degraded with
        the value <code class="constant">TRUE</code>, the array will be started even if some members
        are missing.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options - known options (in addition to <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>) includes <em class="parameter"><code>start-degraded</code></em> (of type 'b').</p></td>
</tr></tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.Stop"></a><h3>The Stop() method</h3>
<pre class="programlisting">
Stop (IN  a{sv} options);
</pre>
<p>        Stops the RAID array.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
</tr></tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.RemoveDevice"></a><h3>The RemoveDevice() method</h3>
<pre class="programlisting">
RemoveDevice (IN  o     device,
              IN  a{sv} options);
</pre>
<p>        Removes <em class="parameter"><code>device</code></em> from the array.
</p>
<p>        For this to work <em class="parameter"><code>device</code></em> must already be associated with the
        array, e.g. referenced in the
        <a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.ActiveDevices" title='The "ActiveDevices" property'>"ActiveDevices"</a> property.
</p>
<p>        If the <em class="parameter"><code>option</code></em> parameter contains the key <em class="parameter"><code>wipe</code></em> with the value
        <code class="constant">TRUE</code>, all known filesystem signatures will be erased from the
        <em class="parameter"><code>device</code></em> after removal.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="literal">IN o <em class="parameter"><code>device</code></em></code>:</span></p></td>
<td><p>An object path to an object implementing the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a> interface.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options - known options (in addition to <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>) includes <em class="parameter"><code>wipe</code></em> (of type 'b').</p></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.AddDevice"></a><h3>The AddDevice() method</h3>
<pre class="programlisting">
AddDevice (IN  o     device,
           IN  a{sv} options);
</pre>
<p>        Adds <em class="parameter"><code>device</code></em> to the array.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="literal">IN o <em class="parameter"><code>device</code></em></code>:</span></p></td>
<td><p>An object path to an object implementing the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a> interface.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.SetBitmapLocation"></a><h3>The SetBitmapLocation() method</h3>
<pre class="programlisting">
SetBitmapLocation (IN  ay    value,
                   IN  a{sv} options);
</pre>
<p>        Sets whether the array has a write-intent bitmap.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="literal">IN ay <em class="parameter"><code>value</code></em></code>:</span></p></td>
<td><p>The value for the bitmap, currently only the values 'none' and 'internal' are supported.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.RequestSyncAction"></a><h3>The RequestSyncAction() method</h3>
<pre class="programlisting">
RequestSyncAction (IN  s     sync_action,
                   IN  a{sv} options);
</pre>
<p>        This method call can be used to trigger and cancel data
        redundancy checks and repairs. Currently only the values
        <code class="literal">check</code>, <code class="literal">repair</code> and
        <code class="literal">idle</code> can be used for <em class="parameter"><code>sync_action</code></em>.
</p>
<p>        See also the property <a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncAction" title='The "SyncAction" property'>"SyncAction"</a>.
</p>
<p>        This method call is similar to writing to the
        <code class="literal">sync_action</code> sysfs file, see the
        <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
        file shipped with the kernel sources.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="literal">IN s <em class="parameter"><code>sync_action</code></em></code>:</span></p></td>
<td><p>The action to request.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options (currently unused except for <a class="link" href="udisks-std-options.html" title="The options parameter">standard options</a>).</p></td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-method-org-freedesktop-UDisks2-MDRaid.Delete"></a><h3>The Delete() method</h3>
<pre class="programlisting">
Delete (IN  a{sv} options);
</pre>
<p>         Stops the RAID array and destroys all RAID metadata on member devices.
</p>
<p>         If the option <em class="parameter"><code>tear-down</code></em> is set to
         <code class="constant">TRUE</code>, then the RAID array block device and all its children
         will be cleaned up before stopping.  This cleanup consists of
         removing entries from /etc/fstab and /etc/crypttab, and
         locking of encrypted block devices.  Entries in /etc/fstab
         and /etc/crypttab that have been created with the
         'track-parents' options to AddConfigurationItem will be
         removed even if their block device is currently unavailable.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="literal">IN a{sv} <em class="parameter"><code>options</code></em></code>:</span></p></td>
<td><p>Options.</p></td>
</tr></tbody>
</table></div>
<p class="since">Since 2.0.0</p>
</div>
</div>
<div class="refsect1">
<a name="gdbus-properties-org.freedesktop.UDisks2.MDRaid"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.UUID"></a><h3>The "UUID" property</h3>
<pre class="programlisting">
UUID  readable   s
</pre>
<p>         The UUID of the array.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.Name"></a><h3>The "Name" property</h3>
<pre class="programlisting">
Name  readable   s
</pre>
<p>         The name of the array (TODO: homehost etc).
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.Level"></a><h3>The "Level" property</h3>
<pre class="programlisting">
Level  readable   s
</pre>
<p>         The RAID level.
</p>
<p>         Known values include <code class="literal">raid0</code>, <code class="literal">raid1</code>, <code class="literal">raid4</code>, <code class="literal">raid5</code>, <code class="literal">raid6</code> and <code class="literal">raid10</code>.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.NumDevices"></a><h3>The "NumDevices" property</h3>
<pre class="programlisting">
NumDevices  readable   u
</pre>
<p>         Number of devices that are part of the array.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.Size"></a><h3>The "Size" property</h3>
<pre class="programlisting">
Size  readable   t
</pre>
<p>         The size of the array or 0 if unknown.
</p>
<p>         This is the usable size, e.g. for a RAID-5 array backed by 4
         1TB disks, this will be approximately 3 TB.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncAction"></a><h3>The "SyncAction" property</h3>
<pre class="programlisting">
SyncAction  readable   s
</pre>
<p>         The current state of the array or empty if the array is not
         running or if the array does not have any redundancy
         (e.g. RAID-0 or linear).
</p>
<p>         Use the <a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-method-org-freedesktop-UDisks2-MDRaid.RequestSyncAction" title="The RequestSyncAction() method">RequestSyncAction()</a>
         method to change this.
</p>
<p>         This property corresponds to the
         <code class="literal">sync_action</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncCompleted"></a><h3>The "SyncCompleted" property</h3>
<pre class="programlisting">
SyncCompleted  readable   d
</pre>
<p>         The fraction or sectors completed (always between <code class="constant">0.0</code> and <code class="constant">1.0</code>) in the sync operation or 0.0 if no operation is in progress.
</p>
<p>         This property corresponds to the
         <code class="literal">sync_completed</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncRate"></a><h3>The "SyncRate" property</h3>
<pre class="programlisting">
SyncRate  readable   t
</pre>
<p>         The rate (or speed) at which the sync operation takes
         place. It is averaged over the last 30 seconds and measured
         in bytes per second.
</p>
<p>         If the rate is unknown or no operation is in progress, the
         value of this property is 0.
</p>
<p>         This property corresponds to the
         <code class="literal">sync_speed</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.SyncRemainingTime"></a><h3>The "SyncRemainingTime" property</h3>
<pre class="programlisting">
SyncRemainingTime  readable   t
</pre>
<p>         The estimated number of micro-seconds until the operation is
         finished
</p>
<p>         If the amount of remaining time is unknown or no operation is
         in progress, the value of this property is 0.
</p>
<p>         This property is based on the value of the
         <code class="literal">sync_speed</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.Degraded"></a><h3>The "Degraded" property</h3>
<pre class="programlisting">
Degraded  readable   u
</pre>
<p>         Number of devices by which the array is degraded (0 if not degraded or not running).
</p>
<p>         This property corresponds to the
         <code class="literal">degraded</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.BitmapLocation"></a><h3>The "BitmapLocation" property</h3>
<pre class="programlisting">
BitmapLocation  readable   ay
</pre>
<p>         The location of a write-intent bitmap (empty if the array is not running), if any.
</p>
<p>         If the RAID array does not suppor write-intent bitmaps (for
         example RAID-0 arrays), this is empty.
</p>
<p>         This property corresponds to the
         <code class="literal">bitmap/location</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.ChunkSize"></a><h3>The "ChunkSize" property</h3>
<pre class="programlisting">
ChunkSize  readable   t
</pre>
<p>         The chunk size (0 if the array is not running or not using striping).
</p>
<p>         This property corresponds to the
         <code class="literal">chunk_size</code> sysfs file, see the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.ActiveDevices"></a><h3>The "ActiveDevices" property</h3>
<pre class="programlisting">
ActiveDevices  readable   a(oiasta{sv})
</pre>
<p>         This property is an array with block devices that are
         currently associated with the with the array. It is empty if
         the array is not running.
</p>
<p>         Each element of the array is a struct with the following members:
         </p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">block (type 'o')</span></p></td>
<td><p>The object path for the underlying block device (guaranteed to implement the <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-interface-org-freedesktop-UDisks2-Block.top_of_page">org.freedesktop.UDisks2.Block</a> interface)</p></td>
</tr>
<tr>
<td><p><span class="term">slot (type 'i')</span></p></td>
<td><p>-1 if the device is not currently part of the array (ie. <code class="literal">spare</code> or <code class="literal">faulty</code>), otherwise the slot number the device currently fills (between 0 and <a class="link" href="gdbus-org.freedesktop.UDisks2.MDRaid.html#gdbus-property-org-freedesktop-UDisks2-MDRaid.NumDevices" title='The "NumDevices" property'>"NumDevices"</a>)</p></td>
</tr>
<tr>
<td><p><span class="term">state (type 'as')</span></p></td>
<td><p>The state of the device - known elements include <code class="literal">faulty</code>, <code class="literal">in_sync</code>, <code class="literal">write_mostly</code>, <code class="literal">blocked</code> and <code class="literal">spare</code></p></td>
</tr>
<tr>
<td><p><span class="term">num_read_errors (type 't')</span></p></td>
<td><p>An ongoing count of read errors that have been detected on this device but have not caused the device to be evicted from the array</p></td>
</tr>
<tr>
<td><p><span class="term">expansion (type 'a{sv}')</span></p></td>
<td><p>Currently unused. Intended for future expansion.</p></td>
</tr>
</tbody>
</table></div>
<p>
         This property correspond to the
         <code class="filename">/sys/block/mdN/md/dev-*</code> directories in sysfs and the sysfs files in each directory.
         See the
         <code class="filename"><a class="ulink" href="https://www.kernel.org/doc/Documentation/admin-guide/md.rst" target="_top">Documentation/admin-guide/md.rst</a></code>
         file shipped with the kernel sources.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.ChildConfiguration"></a><h3>The "ChildConfiguration" property</h3>
<pre class="programlisting">
ChildConfiguration  readable   a(sa{sv})
</pre>
<p>Configuration items belonging to the</p>
<p>         block devices of this array (recursively).  This is also
         valid when the array is stopped and there are no actual block
         devices for it.  It works via the 'track-parents' options of
         <a class="link" href="gdbus-org.freedesktop.UDisks2.Block.html#gdbus-method-org-freedesktop-UDisks2-Block.AddConfigurationItem" title="The AddConfigurationItem() method">AddConfigurationItem()</a>, which
         see.
</p>
<p class="since">Since 2.0.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdbus-property-org-freedesktop-UDisks2-MDRaid.Running"></a><h3>The "Running" property</h3>
<pre class="programlisting">
Running  readable   b
</pre>
<p>Whether or not the array is considered running.</p>
<p>         It is an error to call Start on a running array, and Stop on
         a non-running array, for example.
</p>
<p class="since">Since 2.0.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>